.legend-container ul {
    list-style: none;
    margin: 0;
    padding-left: 1em;
}

.legend-container {
    margin-bottom: 1ex;
}

.legend-container li span {
    /* Derived from Bootstrap's badge class */
    border-radius: 10px;
    color: rgba(0, 0, 0, 0.0);
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    min-width: 10px;
    padding: 3px 7px;
    text-align: center;
    vertical-align: baseline;
    white-space: nowrap;
    margin-right: 1em;
}

.legend-container li span:before {
    content: "0"
}